package com.dgut.doctorservice.service;

import com.dgut.doctorservice.entity.DepartmentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dgut.doctorservice.entity.department.OneDepartment;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dgut
 * @since 2021-09-08
 */
public interface DepartmentInfoService extends IService<DepartmentInfo> {

    //添加科室分类
    void saveDepartments(MultipartFile file,DepartmentInfoService departmentInfoService);

    List<OneDepartment> getAllOneAndTwoDepartments();

    List<DepartmentInfo> secondDepartment();
}
